package com.xiangyueEducation.uploaderCloud.service;

import com.xiangyueEducation.uploaderCloud.utils.Result;
import com.xiangyueEducation.uploaderCloud.pojo.dto.AnsDTO;
import com.xiangyueEducation.uploaderCloud.pojo.entity.Modules;
import com.xiangyueEducation.uploaderCloud.pojo.entity.Questions;


import java.util.List;

public interface QuestionService {

    void insertBatch(List<Questions> questions);

    List<Questions> queryByModuleId(Long moduleId);

    Result checkQuestions(List<Questions> questions);

    void updateQuestion(List<Questions> questions);

    Result doTest(AnsDTO quizDTO, Long userId, Modules modules);
}
